From 543ad34ee4d030e0f0f6f900d8606288c4cdba93 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Tue, 18 Jun 2024 10:42:12 +0200 Subject: [PATCH] Remove :underline from 'which-key-highlighted-command-face ' * lisp/which-key.el (which-key-highlighted-command-face): To avoid using properties that might not be supported on all displays, we instead inherit from the semantic face 'highlight'. --- lisp/which-key.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/which-key.el b/lisp/which-key.el index 51b8ece457f..45f8a31364a 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el @@ -595,9 +595,9 @@ it." :package-version "1.0" :version "30.1") (defface which-key-highlighted-command-face - '((t . (:inherit which-key-command-description-face :underline t))) - "Default face for command description. -To be highlighted, it must be a command and match a string in + '((t . (:inherit (which-key-command-description-face highlight)))) + "Default face for highlighted command descriptions. +A command is highlighted, when it matches a string in `which-key-highlighted-command-list'." :group 'which-key-faces :package-version "1.0" :version "30.1") -- 2.30.2